#navigation()
 <div class=" row center-block container">
    <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
        <ul class="layui-tab-title">
            <li class="layui-hide-xs #(postType == '0' ? 'layui-this' : '')"><a href="/">问答首页</a></li>
            <li class="#(postType == '1'? 'layui-this' : '')"><a href="/index?postType=1&keyWord=#(keyWord)" >待回答</a></li>
            <li class="#(postType == '2' ? 'layui-this' : '')"><a href="/index?postType=2&keyWord=#(keyWord)" >已解决</a></li>
            <li class="#(postType == '3' ? 'layui-this' : '')"><a href="/index?postType=3&keyWord=#(keyWord)" >高悬赏</a></li>
            <!--<li class="#(postType == '4' ? 'layui-this' : '')"><a href="/index?postType=4&keyWord=#(keyWord)" >热点提问</a></li>-->
            <!--<li class="#(postType == '5' ? 'layui-this' : '')"><a href="/index?postType=5&keyWord=#(keyWord)" >神讨论</a></li>-->

            <!--#for(category : categories )-->
            <!--<li class="#(cid == category.id ? 'layui-this' : '')"><a href="/post/category/#(category.id)" >问答首页(旧)</a></li>-->
            <!--#end-->

            <!--<li><a href="/index">待回答<span class="layui-badge-dot"></span></a></li>-->

            <!--<li><a href="/index">已解决<span class="layui-badge-dot"></span></a></li>-->
            <!--<li><a href="/index">高悬赏<span class="layui-badge-dot"></span></a></li>-->
            <!-- 用户登入后显示 -->

            <!--<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="/index?postType=1&keyWord=#(keyWord)">待回答</a></li>-->
            <!--<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="/index?postType=2&keyWord=#(keyWord)">已解决</a></li>-->
            <!--<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="/index?postType=3&keyWord=#(keyWord)">高悬赏</a></li>-->

            <!--<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="/index?postType=4&keyWord=#(keyWord)">热点提问</a></li>-->
            <!--<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="/index?postType=5&keyWord=#(keyWord)">神讨论</a></li>-->
            <div class="fly-column-right layui-hide-xs"><a href="/post/add/" class="layui-btn" >我要提问</a> </div>
        </ul>

    </div>
 </div>
#end
<style>
    .layui-tab-title li a{
        color: #333!important;
    }
    .layui-tab-title { border-bottom: solid 2px #ddd }
    /*@media screen and (min-width: 1200px){
        .layui-tab-title {
            width: 1170px;
            padding-left: 118px;
        }
    }*/
    .container{padding-right:0!important;padding-left: 0!important;}
    .fly-column-right {
        position: absolute;
        right:0px;
        top: 0;
    }
    .fly-column-right .layui-btn {
        vertical-align: initial;
    }
    .layui-btn {
        display: inline-block;
        height: 38px;
        line-height: 38px;
        padding: 0 18px;
        color: #fff;
        white-space: nowrap;
        text-align: center;
        font-size: 14px;
        border: none;
        border-radius: 2px;
        cursor: pointer;
    }
</style>